<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="./lib/vue-2.4.0.js"></script>
</head>
<body>
    <div id="app">
        <!-- v-bind指令用来绑定数据到属性
            v-bind简写形式： v-bind: = :
            v-bind中可以写合法的表达式
        -->
        <input type="button" value="按钮" v-bind:title="mytitle+'123'"/>
        <input type="button" value="按钮" :title="mytitle+'123'"/>


    </div>
    <script>
        new Vue({
            el: "#app",
            data:{
                mytitle: "this is a button",
            }
        })
    </script>
</body>
</html>